package com.xoms.front.model;

import java.sql.Timestamp;

/**
 * 资源信息
 **/
public class ResourceBean {
	private Integer rid; // 资源主键id
	private Integer pid; // 资源父级id
	private String name; // 资源名称
	private String url; // 资源路径
	private Integer type; // 资源类型 1:菜单 2:按钮
	private Integer level; // 菜单级别：1：一级菜单  2:二级菜单
	private Integer status; // 是否启用：1启用，非1不启用
	private String remark; // 资源描述
	private String accountId;// 账号id
	private Integer sort;// 顺序
	private Timestamp createTime; // 创建时间,时间戳,精确到秒
	private Timestamp updateTime; // 更新时间,时间戳,精确到秒
	public Integer getRid() {
		return rid;
	}
	public void setRid(Integer rid) {
		this.rid = rid;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

}
